<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script type="text/javascript">
		var n1=prompt("请输入一个数值");
		var n2=n1%5;
		console.log(n2);
		console.log(typeof n2);
		if(n2!=0){
			console.log('不是5的倍数');
		}else{
			console.log('是5的倍数');
		}
	</script>
</head>
<body>

</body>
</html>